package com.xiashitech.agent.utils;

import java.io.File;
import java.net.URL;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;

public class XSFileUtil {
    public static File file(String path) {
        if (null == path) {
            return null;
        }
        return new File(path);
    }
    public static boolean exist(String path) {
        return  (null != path) && file(path).exists();
    }
}
